package pers.mobian.springthird;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Date 2021/7/10 13:27
 * @Created mobian
 * @Description
 */
public class GetEnviorment {
	public static void main(String[] args) {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
		System.out.println(applicationContext.getEnvironment().getSystemEnvironment());
		System.out.println("--");
		System.out.println(applicationContext.getEnvironment().getSystemProperties());
	}
}
